import {NgModule} from "@angular/core";
import {BrowserModule} from "@angular/platform-browser";
import {FormsModule} from "@angular/forms";
import {HttpModule} from "@angular/http";
import {IndexComponent} from "./index.component";
import {CarouselEffectComponent} from "./carousel-effect.component";
import {CarouselEffectHTTPService} from "./CarouselEffectHTTPService";
import {RequestServerHTTPService} from "../services/RequestServerHTTPService";

@NgModule({
    imports:[
        BrowserModule,
        FormsModule,
        HttpModule
    ],
    declarations:[
        IndexComponent,
        CarouselEffectComponent
    ],
    providers: [CarouselEffectHTTPService, RequestServerHTTPService],
    bootstrap:[IndexComponent]
})
export class IndexModule {
}